{%extends 'base.html'%}
{%block content %}

<div class="container">
    <form class="form-horizontal" role="form" action="/commit_register" method="post">
    <div class="form-group">
      <label for="firstname" class="col-sm-2 control-label">姓名：</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" id="firstname" placeholder="请输入名字" name="name">
      </div>
    </div>

    <div class="form-group">
      <label for="lastname" class="col-sm-2 control-label">密码：</label>
      <div class="col-sm-10">
        <input type="password" class="form-control" id="lastname" placeholder="请输入密码" name="psw">
      </div>
    </div>

    <div class="form-group">
      <label for="last" class="col-sm-2 control-label">确认密码：</label>
      <div class="col-sm-10">
        <input type="password" class="form-control" id="last" placeholder="请确认密码" name="passw">
      </div>
    </div>


    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <button type="submit" class="btn btn-default">注册</button>
      </div>
    </div>
  </form>
</div>
  
{%endblock%}